google.golang.org/protobuf/internal/encoding/text.Token.kind (field)
30 uses
google.golang.org/protobuf/internal/encoding/text (current package)
decode.go#L75: tok, err := d.parseNext(d.lastToken.kind)
decode.go#L80: switch tok.kind {
decode.go#L82: tok, err = d.parseNext(tok.kind)
decode.go#L490: kind: Name,
decode.go#L592: kind: kind,
decode_number.go#L24: kind: Scalar,
decode_string.go#L41: kind: Scalar,
decode_token.go#L111: kind Kind
decode_token.go#L134: return t.kind
decode_token.go#L150: if t.kind == Name {
decode_token.go#L153: panic(fmt.Sprintf("Token is not a Name type: %s", t.kind))
decode_token.go#L159: if t.kind == Name {
decode_token.go#L162: panic(fmt.Sprintf("Token is not a Name type: %s", t.kind))
decode_token.go#L167: if t.kind == Name && t.attrs&uint8(IdentName) != 0 {
decode_token.go#L170: panic(fmt.Sprintf("Token is not an IdentName: %s:%s", t.kind, NameKind(t.attrs&^hasSeparator)))
decode_token.go#L175: if t.kind == Name && t.attrs&uint8(TypeName) != 0 {
decode_token.go#L178: panic(fmt.Sprintf("Token is not a TypeName: %s:%s", t.kind, NameKind(t.attrs&^hasSeparator)))
decode_token.go#L185: if t.kind != Name || t.attrs&uint8(FieldNumber) == 0 {
decode_token.go#L186: panic(fmt.Sprintf("Token is not a FieldNumber: %s:%s", t.kind, NameKind(t.attrs&^hasSeparator)))
decode_token.go#L196: if t.kind != Scalar || t.attrs != stringValue {
decode_token.go#L204: if t.kind != Scalar || t.attrs != literalValue || (len(t.raw) > 0 && t.raw[0] == '-') {
decode_token.go#L212: if t.kind != Scalar {
decode_token.go#L248: if t.kind != Scalar || t.attrs != numberValue ||
decode_token.go#L261: if t.kind != Scalar || t.attrs != numberValue ||
decode_token.go#L274: if t.kind != Scalar || t.attrs != numberValue || t.numAttrs&numFloat > 0 {
decode_token.go#L292: if t.kind != Scalar || t.attrs != numberValue || t.numAttrs&numFloat > 0 {
decode_token.go#L310: if t.kind != Scalar {
decode_token.go#L333: if t.kind != Scalar {
decode_token.go#L367: return x.kind == y.kind &&